import axios from '@/libs/api.request'
import { getToken } from '@/libs/util'

class EnumQuery {
  constructor() {
    this.$axios = axios;
  }
  get=(param)=>{
    return axios.request({
      url: '/admin/enum/get/' + param,
      method: 'get',
      dataType: 'json',
      headers: {
        'Content-Type': 'text/html; charset=UTF-8',
        'token': getToken()
      },
    })
  }
}
export default EnumQuery;
